<include file="Public:header" />

	<div id="content" class="container_16 clearfix">
				<div class="grid_4">
					<p>
						<label>Order List</label>
						
					</p>
				</div>
			<!--
				<div class="grid_4">
					<p>
						<label>Username<small>Alpha-numeric values</small></label>
						<input type="text" />
					</p>
				</div>
			
				<div class="grid_5">
					<p>
						<label>Email Address</label>
						<input type="text" />
					</p>
				</div>
				<div class="grid_5">
					<p>
						<label>Department</label>
						<select>
							<option>Development</option>
							<option>Marketing</option>
							<option>Design</option>
							<option>IT</option>
						</select>
					</p>
				</div>
				<div class="grid_2">
					<p>
						<label>&nbsp;</label>
						<input type="submit" value="Search" />
					</p>
				</div>
				-->
				<div class="grid_16">
					<table>
						<thead>
							<tr>
								<th>Order ID</th>
								<th>Name</th>
								<th>Status</th>
								<th colspan="2" width="10%">Actions</th>
							</tr>
						</thead>
						<tfoot>
							<tr>
								<td colspan="5" class="pagination">
									{$page}
								</td>
							</tr>
						</tfoot>
						<tbody>
							<foreach name="orders" item="order">				
							<tr>
								<td>{$order.o_id}</td>
								<td>{$order.name}</td>
								<td><if condition="$order['status'] eq '1' ">Unconfirmed<elseif condition="$order['status'] eq '2'" />Confirmed<elseif condition="$order['status'] eq '3'" />Canceled</if></td>
								<td><a href="__URL__/view/id/{$order.o_id}" class="edit">View</a></td>
								
							</tr>
							</foreach>
						</tbody>
					</table>
				</div>
			</div>


<include file="Public:footer" />